<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>添加附件</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="css/screen.css" rel="stylesheet" type="text/css">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

</head>

<body>
	<s:form action="addattachment1" method="post"
		enctype="multipart/form-data">
		<table width="80%" align="right" class="class1">
			<tr>
				<td>上传文件</td>
				<s:hidden name="attnoteid" value="#attachment.noteid" />
				<s:property value="#attachment.noteid" />
				<td><s:file name="image" label="请选择文件"></s:file> <s:submit
						value="确定"></s:submit></td>
			</tr>
			<tr>
				<td colspan="2"><s:actionerror cssStyle="color:red" /> <s:fielderror
						cssStyle="color:red"></s:fielderror>
				</td>
			</tr>
		</table>
	</s:form>
</body>
</html>
